<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
            th:replace="layout/default">
<head lang="utf-8">
    <title>Hello Twitter</title>
</head>
<body>
    <div class="row" th:fragment="content">
        <h2 class="indigo-text center" th:text="|Tweet results for ${search}|">Tweets</h2>
        <ul class="collection">
            <li class="collection-item avatar" th:each="tweet : ${tweets}">
                <img th:src="${tweet.user.imageUrl}" alt="" class="circle">
                <span class="title" th:text="${tweet.user.name}"> DefaultUserName</span>
                <p th:text="${tweet.text}">DefaultTitterText</p>
            </li>
        </ul>
    </div>

</body>
</html>